package com.hxzy.shop.feign.merchant;

import com.hxzy.shop.fallback.merchant.MerchantFallback;
import com.hxzy.shop.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 功能描述
 *
 * @author tonneyyy
 */
@FeignClient(value = "merchant", fallback = MerchantFallback.class)
public interface MerchantFeign {

    /**
     * 商户门店数量限制
     * @return
     */
    @GetMapping(value = "/merchant/storeCount")
    Result<Integer> selectStoreCount( );
}
